﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MAPDavy.Entities;
using MAPDavy.Repository;
using Microsoft.Practices.Unity;

namespace MAPDavy.BusinessLogic
{
    public class SubjectBL:ISubjectBL 
    {
        [Dependency]
        public  ISubjectRepository  SubjectRepository { get; set; }  

        public List<Subject> GetAllFromSubject()
        {
            return SubjectRepository.GetAllFromSubject(); 
        }
    }
}
